<HTML>

<HEAD>
<!-- Generated by CppDoc v2.4.1 on June 07, 2008 at 22:48-->

	<META NAME="GENERATOR" Content="CppDoc">
	<TITLE>Nestopia Core API: Nes::Api::Cartridge::Database::Entry</TITLE>

</HEAD>

<BODY>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#eeeeff">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#eeeeff">    &nbsp;<a href="../../index-overview-summary.html"><B>Overview</B></a>&nbsp;</TD>
  <TD BGCOLOR="#eeeeff">    &nbsp;<a href="project-summary.html"><B>Project</B></a>&nbsp;</TD>
  <TD BGCOLOR="navy"> <FONT COLOR="white">&nbsp;<B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#eeeeff">    &nbsp;<a href="project-tree.html"><B>Tree</B></a>&nbsp;</TD>
  <TD BGCOLOR="#eeeeff">    &nbsp;<a href="../../index-deprecated-list.html"><B>Deprecated</B></a>&nbsp;</TD>
  <TD BGCOLOR="#eeeeff">    &nbsp;<a href="../../index-all.html"><B>Index</B></a>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B>Nestopia Core API</B></EM>
</TD>
</TR>

<TR>
<TD><FONT SIZE="-2">
  <a href="../../index.html" target="_top"><B>FRAMES</B></a>  &nbsp;
&nbsp;<a href="../api/Nes..Api..Cartridge..Database..Entry.html" target="_top"><B>NO FRAMES</B></a></FONT></TD>
</TR>
<TR>
<TD VALIGN="top"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
api</FONT>
<BR>
Class  Nes::Api::Cartridge::Database::Entry</H2>
<PRE>
<code>Core::ImplicitBool</code>
   |
   +--<B>Nes::Api::Cartridge::Database::Entry</B>

</PRE>
<HR>
<DL>
<DT>class <B><a href="../api/Nes..Api..Cartridge..Database.html">Nes::Api::Cartridge::Database</a>::Entry</B></DT><dt> extends Core::ImplicitBool
</DL>

<p>Database entry.
<p>

<HR>


<!-- =========== CONSTRUCTOR SUMMARY =========== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#ccccff">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;</CODE></FONT></TD>
<TD><CODE><B><a href="#Entry()">Entry</a></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>private&nbsp;</CODE></FONT></TD>
<TD><CODE><B><a href="#Entry(constvoid*)">Entry</a></B>( const void* r )</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;

<!-- =========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#ccccff">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;dword</CODE></FONT></TD>
<TD><CODE><B><a href="#GetChrRom()">GetChrRom</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns total size of CHR-ROM.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;Profile::Dump::State</CODE></FONT></TD>
<TD><CODE><B><a href="#GetDumpState()">GetDumpState</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the dump state.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;const Profile::Hash*</CODE></FONT></TD>
<TD><CODE><B><a href="#GetHash()">GetHash</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns hash code of ROM chips combined.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;uint</CODE></FONT></TD>
<TD><CODE><B><a href="#GetMapper()">GetMapper</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns mapper ID.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;dword</CODE></FONT></TD>
<TD><CODE><B><a href="#GetPrgRom()">GetPrgRom</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns total size of PRG-ROM.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;Result</CODE></FONT></TD>
<TD><CODE><B><a href="#GetProfile(Profile&)">GetProfile</a></B>( Profile& profile ) const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the profile of this entry.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;const wchar_t*</CODE></FONT></TD>
<TD><CODE><B><a href="#GetRegion()">GetRegion</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the target region.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;Profile::System::Type</CODE></FONT></TD>
<TD><CODE><B><a href="#GetSystem()">GetSystem</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the target system.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;const wchar_t*</CODE></FONT></TD>
<TD><CODE><B><a href="#GetTitle()">GetTitle</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the game title.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;uint</CODE></FONT></TD>
<TD><CODE><B><a href="#GetVram()">GetVram</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns total size of V-RAM.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;uint</CODE></FONT></TD>
<TD><CODE><B><a href="#GetWram()">GetWram</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns total size of W-RAM.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;bool</CODE></FONT></TD>
<TD><CODE><B><a href="#HasBattery()">HasBattery</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns battery status.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;bool</CODE></FONT></TD>
<TD><CODE><B><a href="#IsMultiRegion()">IsMultiRegion</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if the game targets multiple regions.</TD>
</TR>
<TR BGCOLOR="white">
<TD ALIGN="right" VALIGN="top" WIDTH="1%" NOWRAP><FONT SIZE="-1">
<CODE>&nbsp;bool</CODE></FONT></TD>
<TD><CODE><B><a href="#operator!()">operator!</a></B>() const</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if entry is invalid.</TD>
</TR>
</TABLE>
&nbsp;

<BR>
<BR>
<!-- ============ Constructor Detail ========== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#ccccff">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="Entry()"><!-- --></A>
<A NAME="Entry"><!-- --></A>
<H3>Entry</H3>
<PRE>
public <B>Entry</B>();
</PRE>
<DL>
<DD>Default constructor.
</DD>

</DL>
<HR>

<A NAME="Entry(constvoid*)"><!-- --></A>
<A NAME="Entry"><!-- --></A>
<H3>Entry</H3>
<PRE>
private <B>Entry</B>( const void* r );
</PRE>
<DL>
<DD></DD>

</DL>
<HR>

<BR>
<!-- ============ Method Detail ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#ccccff">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="GetChrRom()"><!-- --></A>
<A NAME="GetChrRom"><!-- --></A>
<H3>GetChrRom</H3>
<PRE>
public dword <B>GetChrRom</B>() const throw();
</PRE>
<DL>
<DD>Returns total size of CHR-ROM.
</DD>
<DL>
<DT><B>Returns: </B><DD>size or 0 on invalid entry</DD>
</DL>

</DL>
<HR>

<A NAME="GetDumpState()"><!-- --></A>
<A NAME="GetDumpState"><!-- --></A>
<H3>GetDumpState</H3>
<PRE>
public Profile::Dump::State <B>GetDumpState</B>() const throw();
</PRE>
<DL>
<DD>Returns the dump state.
</DD>
<DL>
<DT><B>Returns: </B><DD>dump state</DD>
</DL>

</DL>
<HR>

<A NAME="GetHash()"><!-- --></A>
<A NAME="GetHash"><!-- --></A>
<H3>GetHash</H3>
<PRE>
public const Profile::Hash* <B>GetHash</B>() const throw();
</PRE>
<DL>
<DD>Returns hash code of ROM chips combined.
</DD>
<DL>
<DT><B>Returns: </B><DD>hash code or NULL on invalid entry</DD>
</DL>

</DL>
<HR>

<A NAME="GetMapper()"><!-- --></A>
<A NAME="GetMapper"><!-- --></A>
<H3>GetMapper</H3>
<PRE>
public uint <B>GetMapper</B>() const throw();
</PRE>
<DL>
<DD>Returns mapper ID.
</DD>
<DL>
<DT><B>Returns: </B><DD>mapper ID or 0 on invalid entry</DD>
</DL>

</DL>
<HR>

<A NAME="GetPrgRom()"><!-- --></A>
<A NAME="GetPrgRom"><!-- --></A>
<H3>GetPrgRom</H3>
<PRE>
public dword <B>GetPrgRom</B>() const throw();
</PRE>
<DL>
<DD>Returns total size of PRG-ROM.
</DD>
<DL>
<DT><B>Returns: </B><DD>size or 0 on invalid entry</DD>
</DL>

</DL>
<HR>

<A NAME="GetProfile(Profile&)"><!-- --></A>
<A NAME="GetProfile"><!-- --></A>
<H3>GetProfile</H3>
<PRE>
public Result <B>GetProfile</B>( Profile& profile ) const throw();
</PRE>
<DL>
<DD>Returns the profile of this entry.
</DD>
<DL>
<DT><B>Parameters: </B><DD><code>profile</code> - object to be filled</DD>
<DT><B>Returns: </B><DD>result code</DD>
</DL>

</DL>
<HR>

<A NAME="GetRegion()"><!-- --></A>
<A NAME="GetRegion"><!-- --></A>
<H3>GetRegion</H3>
<PRE>
public const wchar_t* <B>GetRegion</B>() const throw();
</PRE>
<DL>
<DD>Returns the target region.
</DD>
<DL>
<DT><B>Returns: </B><DD>target region or empty string on invalid entry</DD>
</DL>

</DL>
<HR>

<A NAME="GetSystem()"><!-- --></A>
<A NAME="GetSystem"><!-- --></A>
<H3>GetSystem</H3>
<PRE>
public Profile::System::Type <B>GetSystem</B>() const throw();
</PRE>
<DL>
<DD>Returns the target system.
</DD>
<DL>
<DT><B>Returns: </B><DD>target system</DD>
</DL>

</DL>
<HR>

<A NAME="GetTitle()"><!-- --></A>
<A NAME="GetTitle"><!-- --></A>
<H3>GetTitle</H3>
<PRE>
public const wchar_t* <B>GetTitle</B>() const throw();
</PRE>
<DL>
<DD>Returns the game title.
</DD>
<DL>
<DT><B>Returns: </B><DD>game title or empty string on invalid entry</DD>
</DL>

</DL>
<HR>

<A NAME="GetVram()"><!-- --></A>
<A NAME="GetVram"><!-- --></A>
<H3>GetVram</H3>
<PRE>
public uint <B>GetVram</B>() const throw();
</PRE>
<DL>
<DD>Returns total size of V-RAM.
</DD>
<DL>
<DT><B>Returns: </B><DD>size or 0 on invalid entry</DD>
</DL>

</DL>
<HR>

<A NAME="GetWram()"><!-- --></A>
<A NAME="GetWram"><!-- --></A>
<H3>GetWram</H3>
<PRE>
public uint <B>GetWram</B>() const throw();
</PRE>
<DL>
<DD>Returns total size of W-RAM.
</DD>
<DL>
<DT><B>Returns: </B><DD>size or 0 on invalid entry</DD>
</DL>

</DL>
<HR>

<A NAME="HasBattery()"><!-- --></A>
<A NAME="HasBattery"><!-- --></A>
<H3>HasBattery</H3>
<PRE>
public bool <B>HasBattery</B>() const throw();
</PRE>
<DL>
<DD>Returns battery status.
</DD>
<DL>
<DT><B>Returns: </B><DD>true if a battery is present</DD>
</DL>

</DL>
<HR>

<A NAME="IsMultiRegion()"><!-- --></A>
<A NAME="IsMultiRegion"><!-- --></A>
<H3>IsMultiRegion</H3>
<PRE>
public bool <B>IsMultiRegion</B>() const throw();
</PRE>
<DL>
<DD>Checks if the game targets multiple regions.
</DD>
<DL>
<DT><B>Returns: </B><DD>true if targeting multiple regions</DD>
</DL>

</DL>
<HR>

<A NAME="operator!()"><!-- --></A>
<A NAME="operator!"><!-- --></A>
<H3>operator!</H3>
<PRE>
public bool <B>operator!</B>() const;
</PRE>
<DL>
<DD>Checks if entry is invalid.
</DD>
<DL>
<DT><B>Returns: </B><DD>true if invalid</DD>
</DL>

</DL>
<HR>

<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#eeeeff">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#eeeeff">    &nbsp;<a href="../../index-overview-summary.html"><B>Overview</B></a>&nbsp;</TD>
  <TD BGCOLOR="#eeeeff">    &nbsp;<a href="project-summary.html"><B>Project</B></a>&nbsp;</TD>
  <TD BGCOLOR="navy"> <FONT COLOR="white">&nbsp;<B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#eeeeff">    &nbsp;<a href="project-tree.html"><B>Tree</B></a>&nbsp;</TD>
  <TD BGCOLOR="#eeeeff">    &nbsp;<a href="../../index-deprecated-list.html"><B>Deprecated</B></a>&nbsp;</TD>
  <TD BGCOLOR="#eeeeff">    &nbsp;<a href="../../index-all.html"><B>Index</B></a>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B>Nestopia Core API</B></EM>
</TD>
</TR>

<TR>
<TD><FONT SIZE="-2">
  <a href="../../index.html" target="_top"><B>FRAMES</B></a>  &nbsp;
&nbsp;<a href="../api/Nes..Api..Cartridge..Database..Entry.html" target="_top"><B>NO FRAMES</B></a></FONT></TD>
</TR>
<TR>
<TD VALIGN="top"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>


</BODY>

</HTML>

